package com.class05.ioc03;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

@Service
@Primary
public class NewHelloServiceImpl implements HelloService {


    @Override
    public void print() {
        System.out.println("NewHelloServiceImpl: hello world!");
    }
}

